package com.pt5.pthouduan.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ljx
 * @since 2025-04-14
 */
@TableName("torrent_files")
public class TorrentFiles implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("torrent_fileid")
    private Integer torrentFileid;

    private Long torrentid;

    private String path;

    private Long torrentfileSize;

    private String filename;

    private String infoHash;

    public Integer getTorrentFileid() {
        return torrentFileid;
    }

    public void setTorrentFileid(Integer torrentFileid) {
        this.torrentFileid = torrentFileid;
    }

    public Long getTorrentid() {
        return torrentid;
    }

    public void setTorrentid(Long torrentid) {
        this.torrentid = torrentid;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Long getTorrentfileSize() {
        return torrentfileSize;
    }

    public void setTorrentfileSize(Long torrentfileSize) {
        this.torrentfileSize = torrentfileSize;
    }


    @Override
    public String toString() {
        return "TorrentFiles{" +
        "torrentFileid = " + torrentFileid +
        ", torrentid = " + torrentid +
        ", path = " + path +
        ", torrentfileSize = " + torrentfileSize +
        "}";
    }
}
